package com.smart.campus.school.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.campus.common.annotation.Excel;
import com.smart.campus.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 排课规则主对象 sc_course_main_config
 * 
 * @author Zhihe.Li
 * @date 2020-06-14
 */
@Data
public class CourseMainConfigVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 年 */
    @Excel(name = "年")
    private Long year;

    /** 学期Id */
    @Excel(name = "学期")
    private Integer semesterId;

    private Long gradeId;
    @Excel(name = "年级")
    private String  gradeName;

    /** 描述 */
    @Excel(name = "描述")
    private String name;

    /** 节次 */
    @Excel(name = "课数/天")
    private Integer sections;

    /** 节次 */
    @Excel(name = "周数")
    private Integer weeks;

    private Long schoolId;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期")
    private Date bgDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期")
    private Date edDate;

    private Integer state;//课表状态（是否已经生成完整课表）

}
